{extend name="PublicBase/showBase" /}

{block name="body"}
<div class="main">
    <div class="row">
        <div class="col-md-12">
            <section class="tile color transparent-black">
                <div class="tile-header">
                    <h1>{:lang('SpXxLb')}</h1>
                    <div class="controls">
                        <a href="{:url('MallForms/showList')}"><i class="fa fa-refresh"></i></a>
                    </div>
                </div>
                <div class="tile-widget bg-transparent-black-2">
                    <div class="row">
                        <div class="col-sm-12"></div>
                    </div>
                </div>
                <div class="table-responsive">
                    <div class="tile-body nopadding">
                        <table class="table table-bordered table-custom">
                            <thead>
                            <tr>
                                <th>{:lang('SpXxMc')}</th>
                                <th>{:lang('SpXxZt')}</th>
                                <th>{:lang('SpXxSx')}</th>
                                <th>{:lang('SpXxDj')}</th>
                                <th>{:lang('SpXxZj')}</th>
                                <th>{:lang('SpXxXf')}</th>
                                <th>{:lang('SpXxYh')}</th>
                                <th>{:lang('SpXxSl')}</th>
                                <th>{:lang('XtLbGdCz')}</th>
                            </tr>
                            </thead>
                            <tbody>
                                {notempty name="Lists"}
                                    {volist name="Lists" id="vo" key="key"}
                                        <tr>
                                            <td>{$vo.forms_name}</td>
                                            <td><img src="{$vo.forms_imgs}" width="100px" /></td>
                                            <td>{$vo.forms_spec}</td>
                                            <td>{$vo.forms_price}</td>
                                            <td>{$vo.forms_total}</td>
                                            <td>{$vo.forms_need}</td>
                                            <td>{$vo.forms_sale}</td>
                                            <td>{$vo.forms_number}</td>
                                            <td class="actions">
                                                <a class="edit" href="{:url('MallConfig/showEdit',array('id'=>$vo['config_id']))}">
                                                    <i class="fa fa-pencil fa-lg fa-fw"></i>
                                                </a>
                                            </td>
                                        </tr>
                                    {/volist}
                                {else/}
                                    <tr>
                                        <td colspan="20">{:lang('XtLbZwSj')}</td>
                                    </tr>
                                {/notempty}
                            </tbody>
                        </table>
                    </div>
                    <div class="col-sm-12">&nbsp;</div>
                </div>
                <div class="tile-footer bg-transparent-black-2 rounded-bottom-corners">
                    <div class="row">
                        <div class="col-sm-12 text-center">
                            {notempty name="Lists"}
                                {$Lists->render()}
                            {/notempty}
                        </div>
                    </div>
                </div>
            </section>
        </div>
    </div>
</div>
{/block}

{block name="script"}
    <script>
        $(function(){
            
        })
    </script>
{/block}